package com.wms.mapper;

import com.wms.entity.BaseSupplier;
import com.wms.entity.BaseSupplierDTO;
import com.wms.entity.DialogFormDTO;


import java.util.List;

/**
 * @Author Ayases
 * @Date 2025/4/27 20:57
 * @Desc
 */
public interface BaseSupplierMapper {
    List<BaseSupplier> findAll(BaseSupplierDTO baseSupplierDTO);

    void deleteOne(Integer id);

    void forbid(Integer supplierId);

    void enable(Integer supplierId);

    void update(DialogFormDTO dialogFormDTO);

    void save(DialogFormDTO dialogFormDTO);

    List<String> findName();
}
